package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 字典数据表
 * @TableName sys_dict_data
 */
@Data
@Schema(title = "SysDictData",description = "添加字典数据入参模型")
public class SysDictDataAddDTO implements Serializable {

    /**
     * 字典排序
     */
    @Schema(title = "字典排序")
    @NotNull(message = "字典排序不能为空")
    private Integer dictSort;

    /**
     * 字典标签
     */
    @Schema(title = "字典标签")
    @NotBlank(message = "字典标签不能为空")
    private String dictLabel;

    /**
     * 字典键值
     */
    @Schema(title = "字典键值")
    @NotNull(message = "字典键值不能为空")
    private Integer dictValue;

    /**
     * 字典类型
     */
    @Schema(title = "字典类型")
    @NotBlank(message = "字典类型不能为空")
    private String dictType;

    /**
     * 字典皮肤(success,info,warning,danger)
     */
    @Schema(title = "字典皮肤")
    private String dictSkin;

    /**
     * 状态（0正常 1停用）
     */
    @Schema(title = "状态")
    @NotNull(message = "状态不能为空")
    private Integer status;
    /**
     * 备注
     */
    @Schema(title = "备注")
    private String remark;

    private static final long serialVersionUID = 1L;
}
